package com.xxx.yuedong.mine.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;

/**
 * <p>
 * 跑步表
 * </p>
 *
 * @Author Lry
 * @Date 2023-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_runs")
public class Runs implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 跑步记录id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long user_id;

    /**
     * 里程
     */
    private BigDecimal mileage;

    /**
     * 运动时长
     */
    private LocalTime time;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 卡路里
     */
    private Integer calorie;

    /**
     * 步数
     */
    private Integer steps;


}
